package com.bootdo.front.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.front.dao.ProjectExperienceDao;
import com.bootdo.front.domain.ProjectExperienceDO;
import com.bootdo.front.service.ProjectExperienceService;



@Service
public class ProjectExperienceServiceImpl implements ProjectExperienceService {
	@Autowired
	private ProjectExperienceDao projectExperienceDao;
	
	@Override
	public ProjectExperienceDO get(Long id){
		return projectExperienceDao.get(id);
	}
	
	@Override
	public List<ProjectExperienceDO> list(Map<String, Object> map){
		return projectExperienceDao.list(map);
	}

	@Override
	public List<ProjectExperienceDO> getByResumeId(Long resumeId) {
		return projectExperienceDao.getByResumeId(resumeId);
	}


	@Override
	public int count(Map<String, Object> map){
		return projectExperienceDao.count(map);
	}
	
	@Override
	public int save(ProjectExperienceDO projectExperience){
		return projectExperienceDao.save(projectExperience);
	}
	
	@Override
	public int update(ProjectExperienceDO projectExperience){
		return projectExperienceDao.update(projectExperience);
	}
	
	@Override
	public int remove(Long id){
		return projectExperienceDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return projectExperienceDao.batchRemove(ids);
	}
	
}
